package com.elitel.frame.base.component;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "redis.log.key")
@Getter
@Setter
public class SysReqLogKeys {

    private String pre = "";
    public String getCountpre() {
        return pre + "dscloud:reqstat:cache:count:";
    }
    public String getCurrpre() {
        return pre + "dscloud:reqstat:curr" ;
    }
    public String getRecent() {
        return pre + "dscloud:reqstat:recent";
    }
    public String getAllNum() {
        return pre + "dscloud:reqstat:allnum";
    }
    public String getError() {
        return pre + "dscloud:reqstat:error:";
    }
    public String getSuccess() {
        return pre + "dscloud:reqstat:success:";
    }


}
